package com.ellricky.baselib.util;

import android.app.Activity;
import android.content.Intent;

import com.ellricky.baselib.ui.ImageGalleryActivity;

import java.util.ArrayList;

public class BigIvUtil {

    public static void jumpBigIvPage(Activity activity, ArrayList<String> urlList, int curIndex) {
        jumpBigIvPage(activity, urlList, true, curIndex);
    }

    public static void jumpBigIvPage(Activity activity, ArrayList<String> urlList, boolean canZoom, int curIndex) {
        Intent intent = new Intent(activity, ImageGalleryActivity.class);
        intent.putStringArrayListExtra("urlList", urlList);
        intent.putExtra("canZoom", canZoom);
        intent.putExtra("curIndex", curIndex);
        activity.startActivity(intent);
    }

}
